package com.sweetest.luffy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderVo {

    private Integer id;

    private String lastName;

    private String firstName;

    private String phone;

    @ApiModelProperty(value = "车型")
    private String carType;

    @ApiModelProperty(value = "车牌号")
    private String carNumber;

    @ApiModelProperty(value = "客户行程id")
    private Integer userLineId;

    @ApiModelProperty(value = "出行人数")
    private Integer travelNum;

    @ApiModelProperty(value = "司机id")
    private Integer driverId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "颜色")
    private String colour;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty(value = "地址")
    private String startAddress;

    @ApiModelProperty(value = "地址")
    private String endAddress;

    @ApiModelProperty(value = "对比")
    private Integer comparePercent;

    @ApiModelProperty(value = "状态 0开始 1取消  2完成 3已接单")
    private Integer status;


    PointVo pointVo;

}
